package collections

/**
 *@author LikeYouDo
 *@date 2024/12/12 16:42
 */
val words = listOf("Lets", "find", "something", "in", "collection", "somehow")
fun main() {
    println(words.find { it.startsWith("some") })
    println(words.findLast { it.startsWith("some") })
    println(words.find { it.contains("nothing") })
}